[INFO] cloning repository https://github.com/vine-io/scst-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vine-io/scst-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvine-io%2Fscst-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvine-io%2Fscst-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5656f80c00b6c1b0c307bda9e7dd9e9861801dd
[INFO] testing vine-io/scst-rs against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvine-io%2Fscst-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vine-io/scst-rs on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vine-io/scst-rs
[INFO] finished tweaking git repo https://github.com/vine-io/scst-rs
[INFO] tweaked toml for git repo https://github.com/vine-io/scst-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/vine-io/scst-rs 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bed04479c7046cee54595948a5c6e7702426e9eaf13c14239a6a623395ce83d3
[INFO] running `Command { std: "docker" "start" "-a" "bed04479c7046cee54595948a5c6e7702426e9eaf13c14239a6a623395ce83d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bed04479c7046cee54595948a5c6e7702426e9eaf13c14239a6a623395ce83d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bed04479c7046cee54595948a5c6e7702426e9eaf13c14239a6a623395ce83d3", kill_on_drop: false }`
[INFO] [stdout] bed04479c7046cee54595948a5c6e7702426e9eaf13c14239a6a623395ce83d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f54af1ca51baf77a80fd84187fec259b0365ae3de5e4bd032f0f234f2f838987
[INFO] running `Command { std: "docker" "start" "-a" "f54af1ca51baf77a80fd84187fec259b0365ae3de5e4bd032f0f234f2f838987", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling serde_yml v0.0.12
[INFO] [stderr]    Compiling libyml v0.0.5
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling scst v0.3.3 (/opt/rustwide/workdir/scst)
[INFO] [stderr]    Compiling scstcli v0.1.0 (/opt/rustwide/workdir/scstcli)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.55s
[INFO] running `Command { std: "docker" "inspect" "f54af1ca51baf77a80fd84187fec259b0365ae3de5e4bd032f0f234f2f838987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f54af1ca51baf77a80fd84187fec259b0365ae3de5e4bd032f0f234f2f838987", kill_on_drop: false }`
[INFO] [stdout] f54af1ca51baf77a80fd84187fec259b0365ae3de5e4bd032f0f234f2f838987
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1746da3e8e1f81055827772a614c87270e28e62a78648ab9c0e76a2188727886
[INFO] running `Command { std: "docker" "start" "-a" "1746da3e8e1f81055827772a614c87270e28e62a78648ab9c0e76a2188727886", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling scstcli v0.1.0 (/opt/rustwide/workdir/scstcli)
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling clap_builder v4.5.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling clap v4.5.20
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling scst v0.3.3 (/opt/rustwide/workdir/scst)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 18.53s
[INFO] running `Command { std: "docker" "inspect" "1746da3e8e1f81055827772a614c87270e28e62a78648ab9c0e76a2188727886", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1746da3e8e1f81055827772a614c87270e28e62a78648ab9c0e76a2188727886", kill_on_drop: false }`
[INFO] [stdout] 1746da3e8e1f81055827772a614c87270e28e62a78648ab9c0e76a2188727886
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2fb4480990cef24c2f7f0e836cd475f43212fdb5ecfebb54e4a4584b22946f3d
[INFO] running `Command { std: "docker" "start" "-a" "2fb4480990cef24c2f7f0e836cd475f43212fdb5ecfebb54e4a4584b22946f3d", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scst-236897f3c609d002)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::test_options ... ok
[INFO] [stdout] test config::test::test_config_from_yaml ... ok
[INFO] [stdout] test tests::test_read_fl ... ok
[INFO] [stdout] test target::test::read_ips ... ok
[INFO] [stdout] test scst_tgt::test::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/scstcli-9a08094d842a556c)
[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]    Doc-tests scst
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::del_device (line 117) - compile ... FAILED
[INFO] [stdout] test scst/src/lib.rs - Options::check_pack (line 109) - compile ... ok
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::add_initiator (line 726) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::add_lun (line 629) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::add_device (line 86) - compile ... FAILED
[INFO] [stdout] test scst/src/handler.rs - handler::Handler::del_device (line 103) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Driver::del_target (line 133) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::to_cfg (line 224) - compile ... ok
[INFO] [stdout] test scst/src/lib.rs - Options::pack (line 83) - compile ... ok
[INFO] [stdout] test scst/src/target.rs - target::Target::create_ini_group (line 481) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::from_cfg (line 139) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::del_initiator (line 753) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::del_lun (line 694) - compile ... FAILED
[INFO] [stdout] test scst/src/handler.rs - handler::Handler::add_device (line 42) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::move_initiator (line 782) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Target::add_lun (line 375) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::clear_initiators (line 808) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::init (line 28) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Target::del_ini_group (line 508) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Target::del_lun (line 438) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Driver::add_target (line 90) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- scst/src/scst_tgt.rs - scst_tgt::Scst::del_device (line 117) 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]  --> scst/src/scst_tgt.rs:121:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_117_0() {
[INFO] [stdout]   |                                      --------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_117_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.del_device("vdisk_blockio", "disk1")?;
[INFO] [stdout] 10+     Ok(())
[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]  --> scst/src/scst_tgt.rs:123:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_117_0() {
[INFO] [stdout]   |                                      --------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.del_device("vdisk_blockio", "disk1")?;
[INFO] [stdout]   |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_117_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.del_device("vdisk_blockio", "disk1")?;
[INFO] [stdout] 10+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::IniGroup::add_initiator (line 726) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:728:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:730:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12+     Ok(())
[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]  --> scst/src/target.rs:732:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12+     Ok(())
[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]   --> scst/src/target.rs:733:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let group = target.get_ini_group("test")?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12 +     Ok(())
[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]   --> scst/src/target.rs:734:58
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout]    |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::IniGroup::add_lun (line 629) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:631:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:633:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 12+     Ok(())
[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]  --> scst/src/target.rs:635:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 12+     Ok(())
[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]   --> scst/src/target.rs:636:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let group = target.get_ini_group("test")?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 12 +     Ok(())
[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]   --> scst/src/target.rs:637:43
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout]    |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 12 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/scst_tgt.rs - scst_tgt::Scst::add_device (line 86) 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]  --> scst/src/scst_tgt.rs:90:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_86_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 12| scst.add_device("vdisk_blockio", "disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 13+     Ok(())
[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]   --> scst/src/scst_tgt.rs:95:64
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_86_0() {
[INFO] [stdout]    |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | scst.add_device("vdisk_blockio", "disk1", "/dev/sdb", &options)?;
[INFO] [stdout]    |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 12 | scst.add_device("vdisk_blockio", "disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 13 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/handler.rs - handler::Handler::del_device (line 103) 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]  --> scst/src/handler.rs:107:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout] 10+     Ok(())
[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]  --> scst/src/handler.rs:109:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout]   |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout] 10+     Ok(())
[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]  --> scst/src/handler.rs:109:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 9 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout] 10+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::Driver::del_target (line 133) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:135:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:137:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_133_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_133_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| scst.iscsi_mut().del_target("iqn.2018-11.com.vine:test")?;
[INFO] [stdout] 11+     Ok(())
[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]   --> scst/src/target.rs:140:57
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_133_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | scst.iscsi_mut().del_target("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]    |                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_133_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10 | scst.iscsi_mut().del_target("iqn.2018-11.com.vine:test")?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::Target::create_ini_group (line 481) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:483:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:485:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.create_ini_group("test")?;
[INFO] [stdout] 11+     Ok(())
[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]  --> scst/src/target.rs:487:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.create_ini_group("test")?;
[INFO] [stdout] 11+     Ok(())
[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]   --> scst/src/target.rs:488:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.create_ini_group("test")?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.create_ini_group("test")?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/scst_tgt.rs - scst_tgt::Scst::from_cfg (line 139) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]   --> scst/src/scst_tgt.rs:147:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let cfg = Config::read("/tmp/scst.yml")?;
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `Config`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use scst::Config;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `scst1` in this scope
[INFO] [stdout]   --> scst/src/scst_tgt.rs:148:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     scst1.from_cfg(&cfg)?;
[INFO] [stdout]    |     ^^^^^ help: a local variable with a similar name exists: `scst`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::IniGroup::del_initiator (line 753) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:755:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:757:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12+     Ok(())
[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]  --> scst/src/target.rs:759:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12+     Ok(())
[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]   --> scst/src/target.rs:760:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let group = target.get_ini_group("test")?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12 +     Ok(())
[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]   --> scst/src/target.rs:761:58
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout]    |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::IniGroup::del_lun (line 694) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:696:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:698:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.del_lun(0)?;
[INFO] [stdout] 12+     Ok(())
[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]  --> scst/src/target.rs:700:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.del_lun(0)?;
[INFO] [stdout] 12+     Ok(())
[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]   --> scst/src/target.rs:701:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let group = target.get_ini_group("test")?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.del_lun(0)?;
[INFO] [stdout] 12 +     Ok(())
[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]   --> scst/src/target.rs:702:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.del_lun(0)?;
[INFO] [stdout]    |                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.del_lun(0)?;
[INFO] [stdout] 12 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/handler.rs - handler::Handler::add_device (line 42) 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]  --> scst/src/handler.rs:46:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 13|   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 14+     Ok(())
[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]   --> scst/src/handler.rs:51:38
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | scst.get_handler_mut("vdisk_blockio")?
[INFO] [stdout]    |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 13 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 14 +     Ok(())
[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]   --> scst/src/handler.rs:52:45
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 13 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 14 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::IniGroup::move_initiator (line 782) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:784:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:786:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12+     Ok(())
[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]  --> scst/src/target.rs:788:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12+     Ok(())
[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]   --> scst/src/target.rs:789:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let group = target.get_ini_group("test")?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12 +     Ok(())
[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]   --> scst/src/target.rs:790:68
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout]    |                                                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 12 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::Target::add_lun (line 375) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:377:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:379:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 11+     Ok(())
[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]  --> scst/src/target.rs:381:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 11+     Ok(())
[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]   --> scst/src/target.rs:382:44
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::IniGroup::clear_initiators (line 808) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:810:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:812:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.clear_initiators()?;
[INFO] [stdout] 12+     Ok(())
[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]  --> scst/src/target.rs:814:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11| group.clear_initiators()?;
[INFO] [stdout] 12+     Ok(())
[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]   --> scst/src/target.rs:815:41
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let group = target.get_ini_group("test")?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.clear_initiators()?;
[INFO] [stdout] 12 +     Ok(())
[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]   --> scst/src/target.rs:816:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.clear_initiators()?;
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 11 | group.clear_initiators()?;
[INFO] [stdout] 12 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/scst_tgt.rs - scst_tgt::Scst::init (line 28) stdout ----
[INFO] [stdout] error: statements are terminated with a semicolon
[INFO] [stdout]  --> scst/src/scst_tgt.rs:32:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | let scst = Scst::init()?:
[INFO] [stdout]   |                         ^
[INFO] [stdout]   |
[INFO] [stdout] help: use a semicolon instead
[INFO] [stdout]   |
[INFO] [stdout] 7 | let scst = Scst::init()?;
[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]  --> scst/src/scst_tgt.rs:32:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_28_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let scst = Scst::init()?:
[INFO] [stdout]   |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_28_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::Scst;
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let scst = Scst::init()?:
[INFO] [stdout] 8 +     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::Target::del_ini_group (line 508) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:510:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:512:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.del_ini_group("test")?;
[INFO] [stdout] 11+     Ok(())
[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]  --> scst/src/target.rs:514:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.del_ini_group("test")?;
[INFO] [stdout] 11+     Ok(())
[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]   --> scst/src/target.rs:515:29
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.del_ini_group("test")?;
[INFO] [stdout]    |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.del_ini_group("test")?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::Target::del_lun (line 438) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:440:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:442:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.del_lun(0)?;
[INFO] [stdout] 11+     Ok(())
[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]  --> scst/src/target.rs:444:74
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | let target = scst.iscsi_mut().get_target_mut("iqn.2018-11.com.vine:test")?;
[INFO] [stdout]   |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| target.del_lun(0)?;
[INFO] [stdout] 11+     Ok(())
[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]   --> scst/src/target.rs:445:18
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.del_lun(0)?;
[INFO] [stdout]    |                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10 | target.del_lun(0)?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- scst/src/target.rs - target::Driver::add_target (line 90) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> scst/src/target.rs:92:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   | --- unexpected token
[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]  --> scst/src/target.rs:94:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_90_0() {
[INFO] [stdout]   |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let mut scst = Scst::init()?;
[INFO] [stdout]   |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_90_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10| scst.iscsi_mut().add_target("iqn.2018-11.com.vine:test", &options)?;
[INFO] [stdout] 11+     Ok(())
[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]   --> scst/src/target.rs:97:67
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_90_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | scst.iscsi_mut().add_target("iqn.2018-11.com.vine:test", &options)?;
[INFO] [stdout]    |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_90_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 10 | scst.iscsi_mut().add_target("iqn.2018-11.com.vine:test", &options)?;
[INFO] [stdout] 11 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     scst/src/handler.rs - handler::Handler::add_device (line 42)
[INFO] [stdout]     scst/src/handler.rs - handler::Handler::del_device (line 103)
[INFO] [stdout]     scst/src/scst_tgt.rs - scst_tgt::Scst::add_device (line 86)
[INFO] [stdout]     scst/src/scst_tgt.rs - scst_tgt::Scst::del_device (line 117)
[INFO] [stdout]     scst/src/scst_tgt.rs - scst_tgt::Scst::from_cfg (line 139)
[INFO] [stdout]     scst/src/scst_tgt.rs - scst_tgt::Scst::init (line 28)
[INFO] [stdout]     scst/src/target.rs - target::Driver::add_target (line 90)
[INFO] [stdout]     scst/src/target.rs - target::Driver::del_target (line 133)
[INFO] [stdout]     scst/src/target.rs - target::IniGroup::add_initiator (line 726)
[INFO] [stdout]     scst/src/target.rs - target::IniGroup::add_lun (line 629)
[INFO] [stdout]     scst/src/target.rs - target::IniGroup::clear_initiators (line 808)
[INFO] [stdout]     scst/src/target.rs - target::IniGroup::del_initiator (line 753)
[INFO] [stdout]     scst/src/target.rs - target::IniGroup::del_lun (line 694)
[INFO] [stdout]     scst/src/target.rs - target::IniGroup::move_initiator (line 782)
[INFO] [stdout]     scst/src/target.rs - target::Target::add_lun (line 375)
[INFO] [stdout]     scst/src/target.rs - target::Target::create_ini_group (line 481)
[INFO] [stdout]     scst/src/target.rs - target::Target::del_ini_group (line 508)
[INFO] [stdout]     scst/src/target.rs - target::Target::del_lun (line 438)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p scst --doc`
[INFO] running `Command { std: "docker" "inspect" "2fb4480990cef24c2f7f0e836cd475f43212fdb5ecfebb54e4a4584b22946f3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fb4480990cef24c2f7f0e836cd475f43212fdb5ecfebb54e4a4584b22946f3d", kill_on_drop: false }`
[INFO] [stdout] 2fb4480990cef24c2f7f0e836cd475f43212fdb5ecfebb54e4a4584b22946f3d
