[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] 4e91891a3e1a88bb10b77cc9240cae08e0d0fb24
[INFO] testing vine-io/scst-rs against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvine-io%2Fscst-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vine-io/scst-rs on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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]   |
[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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded oorandom v11.1.4
[INFO] [stderr]   Downloaded libyml v0.0.5
[INFO] [stderr]   Downloaded clap v4.5.20
[INFO] [stderr]   Downloaded proc-macro2 v1.0.87
[INFO] [stderr]   Downloaded criterion v0.6.0
[INFO] [stderr]   Downloaded hashbrown v0.15.0
[INFO] [stderr]   Downloaded clap_builder v4.5.20
[INFO] [stderr]   Downloaded serde_yml v0.0.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b13fa260df9d5f95e802ae70d8a933f6eccf0c6dcab89b330d7d0a10def0769
[INFO] running `Command { std: "docker" "start" "-a" "4b13fa260df9d5f95e802ae70d8a933f6eccf0c6dcab89b330d7d0a10def0769", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b13fa260df9d5f95e802ae70d8a933f6eccf0c6dcab89b330d7d0a10def0769", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b13fa260df9d5f95e802ae70d8a933f6eccf0c6dcab89b330d7d0a10def0769", kill_on_drop: false }`
[INFO] [stdout] 4b13fa260df9d5f95e802ae70d8a933f6eccf0c6dcab89b330d7d0a10def0769
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0904ce8ca934d971d4f17a716527c9571f37c99532e9037815747a791e110e6e
[INFO] running `Command { std: "docker" "start" "-a" "0904ce8ca934d971d4f17a716527c9571f37c99532e9037815747a791e110e6e", 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]   |
[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 memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling serde_yml v0.0.12
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling libyml v0.0.5
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[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.87
[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 v2.0.12
[INFO] [stderr]    Compiling scst v0.3.4 (/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 34.65s
[INFO] running `Command { std: "docker" "inspect" "0904ce8ca934d971d4f17a716527c9571f37c99532e9037815747a791e110e6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0904ce8ca934d971d4f17a716527c9571f37c99532e9037815747a791e110e6e", kill_on_drop: false }`
[INFO] [stdout] 0904ce8ca934d971d4f17a716527c9571f37c99532e9037815747a791e110e6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56736f4608e62a074e57776908687cde86403a71683106cc332d4f1db67686b4
[INFO] running `Command { std: "docker" "start" "-a" "56736f4608e62a074e57776908687cde86403a71683106cc332d4f1db67686b4", 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]   |
[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 either v1.13.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling clap_lex v0.7.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling clap_builder v4.5.20
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling scstcli v0.1.0 (/opt/rustwide/workdir/scstcli)
[INFO] [stderr]    Compiling clap v4.5.20
[INFO] [stderr]    Compiling criterion v0.6.0
[INFO] [stderr]    Compiling scst v0.3.4 (/opt/rustwide/workdir/scst)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 16.72s
[INFO] running `Command { std: "docker" "inspect" "56736f4608e62a074e57776908687cde86403a71683106cc332d4f1db67686b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56736f4608e62a074e57776908687cde86403a71683106cc332d4f1db67686b4", kill_on_drop: false }`
[INFO] [stdout] 56736f4608e62a074e57776908687cde86403a71683106cc332d4f1db67686b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6a9c7ffa969ffe1445869abe157971d2cd95e29363af0fb060516647f7258354
[INFO] running `Command { std: "docker" "start" "-a" "6a9c7ffa969ffe1445869abe157971d2cd95e29363af0fb060516647f7258354", 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]   |
[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.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scst-878d8ec2c171aa64)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::test_options ... ok
[INFO] [stdout] test scst_tgt::test::it_works ... ok
[INFO] [stdout] test tests::test_read_fl ... ok
[INFO] [stdout] test target::test::read_ips ... ok
[INFO] [stdout] test config::test::test_config_from_yaml ... 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-d7255164b7d69bc8)
[INFO] [stderr]    Doc-tests scst
[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] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test scst/src/handler.rs - handler::Handler::add_device (line 42) - 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/config.rs - config::Config::write_to (line 72) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::from_cfg (line 139) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::del_device (line 117) - compile ... FAILED
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::to_cfg (line 224) - compile ... ok
[INFO] [stdout] test scst/src/scst_tgt.rs - scst_tgt::Scst::init (line 28) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::add_lun (line 629) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Driver::del_target (line 133) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::add_initiator (line 726) - compile ... FAILED
[INFO] [stdout] test scst/src/lib.rs - Options::pack_with_check (line 109) - compile ... ok
[INFO] [stdout] test scst/src/lib.rs - Options::pack (line 83) - compile ... ok
[INFO] [stdout] test scst/src/target.rs - target::Driver::add_target (line 90) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::del_lun (line 694) - 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::del_lun (line 438) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::Target::create_ini_group (line 481) - 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::Target::del_ini_group (line 508) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::clear_initiators (line 808) - compile ... FAILED
[INFO] [stdout] test scst/src/target.rs - target::IniGroup::del_initiator (line 753) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 43 | 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] 46 | let mut scst = Scst::init()?;
[INFO] [stdout]    |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 43 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 44 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 52 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 53 +     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] 43 | 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] 51 | scst.get_handler_mut("vdisk_blockio")?
[INFO] [stdout]    |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 43 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 44 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 52 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 53 +     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] 43 | 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] 52 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 43 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_42_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 44 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 52 |   .add_device("disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 53 +     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/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] 87 | 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] 90 | let mut scst = Scst::init()?;
[INFO] [stdout]    |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 87 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 88 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 95 | scst.add_device("vdisk_blockio", "disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 96 +     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] 87 | 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] 95 | 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: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 87 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 88 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 95 | scst.add_device("vdisk_blockio", "disk1", "/dev/sdb", &options)?;
[INFO] [stdout] 96 +     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] 104 | 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] 107 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 104 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 105 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 109 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout] 110 +     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] 104 | 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] 109 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 104 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 105 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 109 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout] 110 +     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] 104 | 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] 109 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 104 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_handler_rs_103_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 105 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 109 | scst.get_handler_mut("vdisk_blockio")?.del_device("disk1")?;
[INFO] [stdout] 110 +     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/config.rs - config::Config::write_to (line 72) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scst`
[INFO] [stdout]   --> scst/src/config.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 | let mut scst = Scst::init().expect("init scst");
[INFO] [stdout]    |                ^^^^ use of undeclared type `Scst`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 71 + use scst::Scst;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options`
[INFO] [stdout]   --> scst/src/config.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |    &Options::new(),
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 79 -    &Options::new(),
[INFO] [stdout] 79 +    &Option::new(),
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 71 + use scst::Options;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options`
[INFO] [stdout]   --> scst/src/config.rs:84:45
[INFO] [stdout]    |
[INFO] [stdout] 84 |    .add_target("iqn.2018-11.com.scst:vol", &Options::new())?;
[INFO] [stdout]    |                                             ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 84 -    .add_target("iqn.2018-11.com.scst:vol", &Options::new())?;
[INFO] [stdout] 84 +    .add_target("iqn.2018-11.com.scst:vol", &Option::new())?;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 71 + use scst::Options;
[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 E0433`.
[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] 147 |     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] 141 + 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] 148 |     scst1.from_cfg(&cfg)?;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 148 -     scst1.from_cfg(&cfg)?;
[INFO] [stdout] 148 +     scst.from_cfg(&cfg)?;
[INFO] [stdout]     |
[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/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] 118 | 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] 121 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 118 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_117_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 119 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 123 | scst.del_device("vdisk_blockio", "disk1")?;
[INFO] [stdout] 124 +     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] 118 | 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] 123 | scst.del_device("vdisk_blockio", "disk1")?;
[INFO] [stdout]     |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 118 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_117_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 119 | use scst::{Scst, Options};
[INFO] [stdout] ...
[INFO] [stdout] 123 | scst.del_device("vdisk_blockio", "disk1")?;
[INFO] [stdout] 124 +     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/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] 32 | let scst = Scst::init()?:
[INFO] [stdout]    |                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: use a semicolon instead
[INFO] [stdout]    |
[INFO] [stdout] 32 - let scst = Scst::init()?:
[INFO] [stdout] 32 + 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] 29 | 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] 32 | let scst = Scst::init()?:
[INFO] [stdout]    |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 29 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_scst_tgt_rs_28_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 30 | use scst::Scst;
[INFO] [stdout] 31 |
[INFO] [stdout] 32 | let scst = Scst::init()?:
[INFO] [stdout] 33 +     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_lun (line 629) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:631:26
[INFO] [stdout]     |
[INFO] [stdout] 631 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 632 |
[INFO] [stdout] 633 | 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] 630 | 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] 633 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 630 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 631 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 637 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 638 +     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] 630 | 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] 635 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 630 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 631 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 637 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 638 +     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] 630 | 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] 636 | let group = target.get_ini_group("test")?;
[INFO] [stdout]     |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 630 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 631 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 637 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 638 +     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] 630 | 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] 637 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout]     |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 630 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_629_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 631 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 637 | group.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 638 +     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::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] 135 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 136 |
[INFO] [stdout] 137 | 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] 134 | 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] 137 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 134 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_133_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 135 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 140 | scst.iscsi_mut().del_target("iqn.2018-11.com.vine:test")?;
[INFO] [stdout] 141 +     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] 134 | 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] 140 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 134 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_133_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 135 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 140 | scst.iscsi_mut().del_target("iqn.2018-11.com.vine:test")?;
[INFO] [stdout] 141 +     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::add_initiator (line 726) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:728:26
[INFO] [stdout]     |
[INFO] [stdout] 728 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 729 |
[INFO] [stdout] 730 | 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] 727 | 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] 730 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 727 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 728 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 734 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 735 +     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] 727 | 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] 732 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 727 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 728 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 734 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 735 +     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] 727 | 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] 733 | let group = target.get_ini_group("test")?;
[INFO] [stdout]     |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 727 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 728 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 734 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 735 +     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] 727 | 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] 734 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 727 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_726_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 728 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 734 | group.add_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 735 +     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::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] 92 | use scst::{Scst, Options}
[INFO] [stdout]    |                          ^ help: add `;` here
[INFO] [stdout] 93 |
[INFO] [stdout] 94 | 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] 91 | 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] 94 | let mut scst = Scst::init()?;
[INFO] [stdout]    |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 91 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_90_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 92 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 97 | scst.iscsi_mut().add_target("iqn.2018-11.com.vine:test", &options)?;
[INFO] [stdout] 98 +     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] 91 | 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] 97 | 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: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 91 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_90_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 92 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 97 | scst.iscsi_mut().add_target("iqn.2018-11.com.vine:test", &options)?;
[INFO] [stdout] 98 +     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::del_lun (line 694) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:696:26
[INFO] [stdout]     |
[INFO] [stdout] 696 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 697 |
[INFO] [stdout] 698 | 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] 695 | 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] 698 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 695 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 696 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 702 | group.del_lun(0)?;
[INFO] [stdout] 703 +     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] 695 | 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] 700 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 695 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 696 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 702 | group.del_lun(0)?;
[INFO] [stdout] 703 +     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] 695 | 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] 701 | let group = target.get_ini_group("test")?;
[INFO] [stdout]     |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 695 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 696 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 702 | group.del_lun(0)?;
[INFO] [stdout] 703 +     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] 695 | 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] 702 | group.del_lun(0)?;
[INFO] [stdout]     |                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 695 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_694_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 696 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 702 | group.del_lun(0)?;
[INFO] [stdout] 703 +     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::move_initiator (line 782) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:784:26
[INFO] [stdout]     |
[INFO] [stdout] 784 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 785 |
[INFO] [stdout] 786 | 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] 783 | 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] 786 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 783 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 784 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 790 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 791 +     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] 783 | 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] 788 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 783 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 784 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 790 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 791 +     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] 783 | 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] 789 | let group = target.get_ini_group("test")?;
[INFO] [stdout]     |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 783 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 784 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 790 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 791 +     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] 783 | 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] 790 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 783 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_782_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 784 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 790 | group.move_initiator("test1", "iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 791 +     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::del_lun (line 438) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:440:26
[INFO] [stdout]     |
[INFO] [stdout] 440 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 441 |
[INFO] [stdout] 442 | 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] 439 | 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] 442 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 439 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 440 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 445 | target.del_lun(0)?;
[INFO] [stdout] 446 +     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] 439 | 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] 444 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 439 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 440 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 445 | target.del_lun(0)?;
[INFO] [stdout] 446 +     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] 439 | 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] 445 | target.del_lun(0)?;
[INFO] [stdout]     |                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 439 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_438_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 440 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 445 | target.del_lun(0)?;
[INFO] [stdout] 446 +     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::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] 483 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 484 |
[INFO] [stdout] 485 | 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] 482 | 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] 485 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 482 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 483 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 488 | target.create_ini_group("test")?;
[INFO] [stdout] 489 +     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] 482 | 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] 487 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 482 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 483 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 488 | target.create_ini_group("test")?;
[INFO] [stdout] 489 +     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] 482 | 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] 488 | target.create_ini_group("test")?;
[INFO] [stdout]     |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 482 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_481_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 483 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 488 | target.create_ini_group("test")?;
[INFO] [stdout] 489 +     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::add_lun (line 375) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:377:26
[INFO] [stdout]     |
[INFO] [stdout] 377 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 378 |
[INFO] [stdout] 379 | 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] 376 | 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] 379 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 376 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 377 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 382 | target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 383 +     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] 376 | 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] 381 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 376 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 377 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 382 | target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 383 +     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] 376 | 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] 382 | target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout]     |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 376 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_375_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 377 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 382 | target.add_lun("disk1", 0, &Options::new())?;
[INFO] [stdout] 383 +     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_ini_group (line 508) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:510:26
[INFO] [stdout]     |
[INFO] [stdout] 510 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 511 |
[INFO] [stdout] 512 | 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] 509 | 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] 512 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 509 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 510 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 515 | target.del_ini_group("test")?;
[INFO] [stdout] 516 +     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] 509 | 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] 514 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 509 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 510 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 515 | target.del_ini_group("test")?;
[INFO] [stdout] 516 +     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] 509 | 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] 515 | target.del_ini_group("test")?;
[INFO] [stdout]     |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 509 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_508_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 510 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 515 | target.del_ini_group("test")?;
[INFO] [stdout] 516 +     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] 810 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 811 |
[INFO] [stdout] 812 | 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] 809 | 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] 812 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 809 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 810 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 816 | group.clear_initiators()?;
[INFO] [stdout] 817 +     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] 809 | 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] 814 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 809 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 810 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 816 | group.clear_initiators()?;
[INFO] [stdout] 817 +     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:45
[INFO] [stdout]     |
[INFO] [stdout] 809 | 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] 815 | let mut group = target.get_ini_group("test")?;
[INFO] [stdout]     |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 809 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 810 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 816 | group.clear_initiators()?;
[INFO] [stdout] 817 +     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] 809 | 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] 816 | group.clear_initiators()?;
[INFO] [stdout]     |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 809 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_808_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 810 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 816 | group.clear_initiators()?;
[INFO] [stdout] 817 +     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_initiator (line 753) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> scst/src/target.rs:755:26
[INFO] [stdout]     |
[INFO] [stdout] 755 | use scst::{Scst, Options}
[INFO] [stdout]     |                          ^ help: add `;` here
[INFO] [stdout] 756 |
[INFO] [stdout] 757 | 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] 754 | 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] 757 | let mut scst = Scst::init()?;
[INFO] [stdout]     |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 754 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 755 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 761 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 762 +     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] 754 | 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] 759 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 754 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 755 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 761 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 762 +     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] 754 | 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] 760 | let group = target.get_ini_group("test")?;
[INFO] [stdout]     |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 754 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 755 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 761 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 762 +     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] 754 | 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] 761 | 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: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 754 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_scst_src_target_rs_753_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 755 | use scst::{Scst, Options}
[INFO] [stdout] ...
[INFO] [stdout] 761 | group.del_initiator("iqn.1988-12.com.oracle:d4ebaa45254")?;
[INFO] [stdout] 762 +     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] 
[INFO] [stdout] failures:
[INFO] [stdout]     scst/src/config.rs - config::Config::write_to (line 72)
[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; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p scst --doc`
[INFO] running `Command { std: "docker" "inspect" "6a9c7ffa969ffe1445869abe157971d2cd95e29363af0fb060516647f7258354", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a9c7ffa969ffe1445869abe157971d2cd95e29363af0fb060516647f7258354", kill_on_drop: false }`
[INFO] [stdout] 6a9c7ffa969ffe1445869abe157971d2cd95e29363af0fb060516647f7258354
