[INFO] cloning repository https://github.com/ds2600/autobk-r [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ds2600/autobk-r" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds2600%2Fautobk-r", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds2600%2Fautobk-r'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5365f34a1ad739341b10d368b9a87ac8b24bc507 [INFO] checking ds2600/autobk-r/5365f34a1ad739341b10d368b9a87ac8b24bc507 against try#88e773be5b0a68392bd25d47edd909e9b2d64a6a for pr-132268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds2600%2Fautobk-r" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ds2600/autobk-r on toolchain 88e773be5b0a68392bd25d47edd909e9b2d64a6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88e773be5b0a68392bd25d47edd909e9b2d64a6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ds2600/autobk-r [INFO] finished tweaking git repo https://github.com/ds2600/autobk-r [INFO] tweaked toml for git repo https://github.com/ds2600/autobk-r written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ds2600/autobk-r already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88e773be5b0a68392bd25d47edd909e9b2d64a6a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking ds2600/autobk-r/5365f34a1ad739341b10d368b9a87ac8b24bc507 against try#88e773be5b0a68392bd25d47edd909e9b2d64a6a for pr-132268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds2600%2Fautobk-r" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ds2600/autobk-r on toolchain 88e773be5b0a68392bd25d47edd909e9b2d64a6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88e773be5b0a68392bd25d47edd909e9b2d64a6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ds2600/autobk-r [INFO] finished tweaking git repo https://github.com/ds2600/autobk-r [INFO] tweaked toml for git repo https://github.com/ds2600/autobk-r written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ds2600/autobk-r already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88e773be5b0a68392bd25d47edd909e9b2d64a6a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_core v0.20.5 [INFO] [stderr] Downloaded thread-id v4.2.1 [INFO] [stderr] Downloaded darling_macro v0.20.5 [INFO] [stderr] Downloaded darling v0.20.5 [INFO] [stderr] Downloaded log4rs v1.2.0 [INFO] [stderr] Downloaded rust_decimal v1.34.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+88e773be5b0a68392bd25d47edd909e9b2d64a6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9443898a8d65533ac92141a559e39094f21760572c272fd01ec134d5d9aa51f1 [INFO] running `Command { std: "docker" "start" "-a" "9443898a8d65533ac92141a559e39094f21760572c272fd01ec134d5d9aa51f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9443898a8d65533ac92141a559e39094f21760572c272fd01ec134d5d9aa51f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9443898a8d65533ac92141a559e39094f21760572c272fd01ec134d5d9aa51f1", kill_on_drop: false }` [INFO] [stdout] 9443898a8d65533ac92141a559e39094f21760572c272fd01ec134d5d9aa51f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+88e773be5b0a68392bd25d47edd909e9b2d64a6a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e158a6edab8c28e5f9066933f07035a1b241bfabcc0bf470fcdfb1126ddf074 [INFO] running `Command { std: "docker" "start" "-a" "7e158a6edab8c28e5f9066933f07035a1b241bfabcc0bf470fcdfb1126ddf074", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling winnow v0.5.39 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking const-random v0.1.17 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling rust_decimal v1.34.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking pest v2.7.7 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking toml_edit v0.22.4 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking toml v0.8.10 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking autobk-r v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/op_maintenance.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/op_maintenance.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/op_maintenance.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{ Path, PathBuf }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/op_autobackups.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/op_maintenance.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{ Path, PathBuf }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/op_autobackups.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/op_autobackups.rs:160:103 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 160 | let k_backup = insert_backup(&mut conn, device_id, &backup_file, &backup_hash)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/op_autobackups.rs:160:103 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 160 | let k_backup = insert_backup(&mut conn, device_id, &backup_file, &backup_hash)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/op_autobackups.rs:163:100 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 163 | insert_backup_version(&mut conn, k_backup, device_id, latest_version + 1.0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/op_autobackups.rs:163:100 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 163 | insert_backup_version(&mut conn, k_backup, device_id, latest_version + 1.0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/op_autobackups.rs:168:110 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 168 | update_schedule(&mut conn, &schedule_id, "Complete", "Changes detected, new version")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/op_autobackups.rs:168:110 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 168 | update_schedule(&mut conn, &schedule_id, "Complete", "Changes detected, new version")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run_autobackups(config: &BaseConfig) -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/op_autobackups.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::device_types::{get_device, Device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/op_autobackups.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::device_types::{get_device, Device}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_device` [INFO] [stdout] --> src/op_maintenance.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | for (k_self, k_device, s_file, _) in expired_backups { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_device` [INFO] [stdout] --> src/op_maintenance.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | for (k_self, k_device, s_file, _) in expired_backups { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autobk-r` (bin "autobk-r") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autobk-r` (bin "autobk-r" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e158a6edab8c28e5f9066933f07035a1b241bfabcc0bf470fcdfb1126ddf074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e158a6edab8c28e5f9066933f07035a1b241bfabcc0bf470fcdfb1126ddf074", kill_on_drop: false }` [INFO] [stdout] 7e158a6edab8c28e5f9066933f07035a1b241bfabcc0bf470fcdfb1126ddf074